package com.enterprise.service;

import java.util.List;
import java.util.Map;
import java.util.Properties;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.springframework.transaction.annotation.Transactional;

import com.enterprise.domain.Enterprise;

public interface EnterpriseService {
	@Transactional
	public void registEnterpriseList(Enterprise enterprise);

	public void registJGEnterpriseList(Enterprise enterprise);

	public List getAreaB(String areaBId, String getType);

	public List getAreaC(String areaCId, String getType2);

	public List getBuyerBelong();

	public List getCountryType2(String countryType2, String countryType);

	public List getGsgsd(String gsgsdId, String gsFlag);

	public List getDsgsd(String dsgsdId, String dsFlag);

	@Transactional
	public void enterprisePwdChage(Enterprise enterprise);

	@Transactional
	public List enterpriseInfoView(String userId);

	@Transactional
	public List enterpriseInfoViewSellerIndex(String userId);

	public HSSFWorkbook exportEnterpriseContract(String contractIds)
			throws Exception;

	public List getAreaD(String areaDId);

	public List getSellerTypeAID();

	public List getSellerTypeBID_(String sellerTypeAID);

	public List getSellerTypeCID_(String sellerTypeAID, String sellerTypeBID);

	public List getSellerIndex(Map map);

	public List getSellerIndex1(Map map);

	public List getSellerIndex2(Map map);

	public List getSellerIndex3(Map map);

	public List getSellerIndex4(Map map);

	public List getSellerIndex5(Map map);

	public void updateEnterprise(Enterprise enterprise);

	public List querySellerTypeAID(Map<String, String> para);

	public List querySellerTypeBID(Map<String, String> para);

	public List querySellerTypeCID(Map<String, String> para);

	public List enterpriseInfoJG(Map map);

	public List enterpriseInfoJGTemp(Map map);
	
	public void addUserTables();

	public String getUserTablesJSON(Map param) throws Exception;
	
	public void exportDataImpl(String tableNames, Properties prop, String beginTime, String endTime) throws Exception;
	
	public String getUserTableDetailsJSON(Map params) throws Exception;
}
